/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package entities;

import java.io.Serializable;
import javax.persistence.Basic;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.NamedQueries;
import javax.persistence.NamedQuery;
import javax.persistence.Table;

/**
 *
 * @author Juanan
 */
@Entity(name = "v_security")
public class VSecurity implements Serializable
{
    private static final long serialVersionUID = 1L;
    public static final String USR_LOGIN = "USR_LOGIN";
    @Column(name = "USR_LOGIN")
    private String usrLogin;
    @Basic(optional = false)
    @Column(name = "FUN_CODE")
    private String funCode;

    public VSecurity()
    {
    }

    public String getUsrLogin()
    {
        return usrLogin;
    }

    public void setUsrLogin(String usrLogin)
    {
        this.usrLogin = usrLogin;
    }

    public String getFunCode()
    {
        return funCode;
    }

    public void setFunCode(String funCode)
    {
        this.funCode = funCode;
    }
    
}
